* net/ange-ftp.el (ange-ftp-cf1): Quote FILENAME.
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 13 Feb 2008 17:19:22 +0000 (17:19 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 13 Feb 2008 17:19:22 +0000 (17:19 +0000)
lisp/net/ange-ftp.el

index d53f740296aa8ad66202d5988135153d6dfaebe2..d4816dbe1c8a02651278da35a0b832d107645a5c 100644 (file)
@@ -3766,7 +3766,7 @@ Value is (0 0) if the modification time cannot be determined."
            (ange-ftp-send-cmd
             t-host
             t-user
-            (list 'put (or temp2 filename) t-name)
+            (list 'put (or temp2 (ange-ftp-quote-string filename)) t-name)
             (or msg
                 (if (and temp2 f-parsed)
                     (format "Putting %s" newname)